package com.amzing.dynamicrulesshardingjdbc.mapper;

import com.amzing.dynamicrulesshardingjdbc.entity.Order;
import com.amzing.dynamicrulesshardingjdbc.entity.OrderItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderItemMapper extends BaseMapper<OrderItem> {

    List<Order> selectOrders(@Param("tenantId") long tenantId);

}
